export default function useNav() {
	const navFun = () => {
		const ua = navigator.userAgent.toLowerCase();
		const isWeixin = ua.indexOf('micromessenger') != -1;
		let navTitle = document.getElementsByTagName('uni-page-head');
		navTitle[0].style.display = isWeixin?'none':'block'
	}
	return { navFun }
}